package CreationMode.abstractFactory.digitalproducts;

/**
 * 抽象工厂模式
 */
public class Clinet {
    public static void main(String[] args) {
        Factory factoryMi = new FactoryMi();
        Computer computerMi = factoryMi.createComputer();
        computerMi.show();

        Factory factoryHuawei = new FactoryHuawei();
        Phone phoneHuawei = factoryHuawei.createPhone();
        phoneHuawei.show();
    }
}
